<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
        }

        section {
            width: 100%;
            height: 100px;
            background-color: #232623;
            position: absolute;
        }

        section .box {
            width: 1200px;
            margin: 0 auto;
            /* background-color: rebeccapurple; */
            display: flex;
            justify-content: space-between;
            height: 100px;
        }

        section .box .left {

            width: 800px;
            /* background-color: saddlebrown; */
        }

        section .box .right {
            width: 400px;
            /* background-color: darkblue; */
        }

        section .box .left ul {
            list-style: none;
            display: flex;
            justify-content: space-between;
        }

        section .box .left ul li {
            line-height: 80px;
            color: white;
            width: 150px;
        }

        section .box .left ul li:hover {
            color: #c3a35f;
        }

        section .box .right ul {
            list-style: none;
            display: flex;
            justify-content: space-around;
        }

        section .box .right ul li {
            line-height: 80px;
            color: white;
        }

        section .left .xia {
            width: 150px;
            height: 120px;
            background-color: #232623;
            position: relative;
            left: 120px;
            top: -20px;
            opacity: 0.8;
              display: none;  
        }

        section .left .xia p {
            position: relative;
            left: 30px;
            color: white;
            top: 30px;
        }

        section .left .xia p:hover {
            color: #c3a35f;
        }

        section .left .ooo {
            position: relative;
            left: 240px;
            width: 100px;
            height: 180px;
            background-color: #232623;
            opacity: 0.8;
            top: -20px;
              display: none;  
        }

        section .left .ooo p {
            position: relative;
            top: 30px;
            left: 20px;
            color: white;
        }
        section .left .ooo p:hover{
            color: #c3a35f;
        }
    </style>
</head>

<body>
    <section>
        <div class="box">
            <div class="left">
                <ul>
                    <li>会员首页</li>
                    <li class="qqq">看电影</li>
                    <li class="www">看动漫</li>
                    <li>记录</li>
                    <li>德鱼社</li>
                    <li>看剧</li>
                    <li>看直播</li>
                </ul>
                <div class="xia">
                    <p>华语大片 </p>
                    <p>海外大片</p>
                </div>
                <div class="ooo">
                    <p>英剧</p>
                    <p>美剧</p>
                    <p>港剧</p>
                    <p>韩剧</p>
                </div>
            </div>
            <div class="right">
                <ul>
                    <li class="yi">我的会员</li>
                    <li class="er">会员卡</li>
                </ul>
            </div>
        </div>

    </section>

</body>

</html>
<script>
    var qqq = document.querySelector('section .box .left ul .qqq');
    var xia = document.querySelector('section .left .xia ');
    var www = document.querySelector('section .box .left ul .www');
     var ooo = document.querySelector('section .left .ooo ');
    qqq.onmouseover = function () {
        xia.style.display = 'block';
    }
    qqq.onmouseout = function () {
        xia.style.display = 'none';
    }
    xia.onmouseover = function () {
        xia.style.display = 'block';

    }
    xia.onmouseout = function () {
        xia.style.display = 'none';
    }
      www.onmouseover = function () {
        ooo.style.display = 'block';
    }
    www.onmouseout = function () {
        ooo.style.display = 'none';
    }
    ooo.onmouseover = function () {
        ooo.style.display = 'block';
       
    }
    ooo.onmouseout = function () {
        ooo.style.display = 'none';
    }

</script>